package com.test2;

/**
 * @author cjx
 * @create 2024/06/12
 * @description
 */
public class BasketballCoach extends Coach {
    public BasketballCoach() {
    }

    public BasketballCoach(String name, int age) {
        super(name, age);
    }

    @Override
    public void teach() {
        System.out.println("篮球球教练" + getName() + getAge() + "岁，再教打篮球球");
    }
}
